package com.agent.web;

import com.agent.service.mail.impl.RepaireInfoBiz;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping(value = "/test")
public class TestController {

    @Autowired
    RepaireInfoBiz repaireInfoBiz;
    @RequestMapping(value = "/email",method = RequestMethod.GET)
    public void email(){
        repaireInfoBiz.insertByEmail("报修","fengke@thape.com.cn");
    }
}
